package cn.com.roy.thread.transdata;

public class RunClass {
    public static void main(String[] args) {
        TransService service = new TransService();

        ThreadA a = new ThreadA(service);
        a.setName("A");
        a.start();

        ThreadB b = new ThreadB(service);
        b.setName("B");
        b.start();

    }
}
